package com.waters321.rock;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import com.didispace.swagger.EnableSwagger2Doc;

@EnableTransactionManagement
@SpringBootApplication
@ComponentScan("com.waters321.rock")
@EnableScheduling
@EnableSwagger2Doc
public class WebApplication {
  public static void main(String[] args) {
    SpringApplication.run(WebApplication.class, args);
  }
}
